min((a*x^2+h*M)/(a*x+M)) for x>=0 and a>0 and h>0 and M>0